package com.geeguo.ebuilder.client.business.system.userrole.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.geeguo.ebuilder.client.base.tenant.model.DataContext;
import com.geeguo.ebuilder.client.business.system.userrole.model.UserRoleEntity;

import java.util.List;

public interface UserRoleService extends IService<UserRoleEntity> {

    boolean batchSave(List<UserRoleEntity> list, DataContext dataContext);
    boolean batchSave(List<String> roleIds, String userId, String createUserId, DataContext dataContext);

    boolean removeByUserId(String userId, DataContext dataContext);
}